.class Lcom/xingbook/group/view/d;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnTouchListener;


# instance fields
.field final synthetic a:Lcom/xingbook/group/view/PublishRelativeLayout;


# direct methods
.method constructor <init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 3

    const/4 v2, 0x0

    const/16 v1, 0x8

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->c(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->c(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->d(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->e(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->e(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->a(Lcom/xingbook/group/view/PublishRelativeLayout;Z)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->f(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->f(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/group/view/d;->a:Lcom/xingbook/group/view/PublishRelativeLayout;

    invoke-static {v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->g(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_4
    return v2
.end method
